package com.pagoda.nerp.trade.dao;

import com.pagoda.nerp.trade.entity.MdRole;

import java.util.List;
import java.util.Map;

public interface MdRoleDao {
    int deleteByPrimaryKey(Integer roleId);

    int insert(MdRole record);

    MdRole selectByPrimaryKey(Integer roleId);

    List<MdRole> selectAll();

    int updateByPrimaryKey(MdRole record);

    List<MdRole> selectAllByConditon(Map map);

    MdRole selectOneByCondition(Map map);

    List<MdRole> selectByCondition(Integer accountId);
}